package prv.behavioral.strategy;

//Configured with a ConcreteStrategy object and maintains a reference to a Strategy object
class Context {

	private IStrategy strategy;

	// Constructor
	public Context(IStrategy strategy) {
		this.strategy = strategy;
	}

	public int executeStrategy(int a, int b) {
		return strategy.execute(a, b);
	}
}
